<table [ngClass]="classNames"  class="ui table">
  <thead>
    <tr>
      @for(header of headers;track $index)
      {
        <td>
          {{ header.label}}
        </td>
      }
    </tr>
  </thead>
  <tbody>
      @for(item of data;track $index){
        <tr>
          <td>
            {{ item.name }}
          </td>
          <td>
            {{ item.age }}
          </td>
          <td>
            {{ item.job }}
          </td>
        </tr>

      }

  </tbody>
</table>
